package org.ww.seckill.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.ww.common.utils.R;

/**
 * @program: gmall
 * @description:
 * @author: ww
 * @create: 2024-11-05 14:36
 **/
@FeignClient("gmall-product")
public interface ProductFeignService {

    @RequestMapping("/product/skuinfo/info/{skuId}")
    R getSkuInfo(@PathVariable("skuId") Long skuId);
}
